home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
014
/
ty.arc
/
TY.DOC
< prev
Wrap
Text File
|
1985-04-29
|
3KB
|
85 lines
T Y
Synopsis
TY either extracts or types files which have been stored in
compressed form using SQ.COM or one of its variants. TY
requires DOS 2.0 or later.
Description
TY operates on the Huffman encoded files created by SQ.COM or one
of its many variants. TY has two functions: it will either
extract a compressed file or it will type that file to
standard output. The use of standard output allows the target
file to be given an arbitrary name or path, rather than simply
the name stored within the 'squeezed' file. There seem to be
two different squeeze formats in use, distinguished by the
initial signature word (FFFA and FF76) and this program handles
both of them. The date and time of the output file are set to
that of the input file in extract mode. The date/time information
in the FFFA format files is ignored.
Command Line
ty[/E][/H] [template....]
/E - perform the extract function, creating the output
file in the current directory.
/H - print a header identifying the current operation (useful
in typing many compressed files at once)
template may contain wild card characters and multiple templates are
allowed. If no template is supplied, the default template
*.?Q?
is used.
Examples:
ty/eh -- extracts all files matching the default template
printing the name of the output file as it is
decompressed.
ty/h -- type all of the compressed files is the current
directory, printing a header line identifying
each file before it is operated on.
ty/e readme.qqq -- unsqueeze one file named readme.qqq, probably
producing readme as a result.
ty rdme.qqq >x -- extract rdme.qqq and produce file x. note
that X may be an arbitrary pathname.
Why?
After running out of disk space on a project, I began to use
the SQ.EXE and USQ.EXE public domain programs, however, they
take up too much disk space to be a real solution. I then
discovered a program to type a compressed file (again, public
domain) but it was also too large. It seemed natural to combine
the extract and type functions in a small .COM program and here
it is. The resulting .COM module takes less than 1400 bytes and,
as a plus, seems much faster than USQ.EXE or NUSQ.COM.
Author
To contact me, leave E-Mail at the North San Jose RBBS
(408) 945-8358
David Cline